{% extends 'index/index.html' %}
{% block detail %}
    <div class="layui-btn" id="btn-back">返回</div>
    <div class="article-box">
        <div id="article-header" style="padding: 20px">
            <h1>{{ title }}</h1>
        </div>
        <hr class="layui-border-cyan"/>
        <div id="article-body">
            {{ content|safe }}
        </div>

    </div>
    <script>
        $(document).ready(function () {
            $('#btn-back').click(function () {
                window.location.assign('../../user/notes/')
            })
        })
    </script>


{% endblock %}